

(function() {
	/**
	 * Extern the basic dom element interfaces.
	 * 
	 * @class DomElement
	 */
	G.GClass('DomElement', function(selector) {
		this.__init(selector);
	}, G.EventListener);

	/**
	 * Constructure of DomElement
	 * @function __init
	 */
	G.DomElement.prototype.__init = function(selector) {
		this.__EventListener__init();
		var tp = typeof(selector);

		if (tp == "string") {
			this.em = document.getElementById(selector);
		} else if (tp == "object") {
			this.em = selector;
		}
	}
})();

